package com.simpe.boot.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018/3/24.
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping
    public String demoTest(){
        return "Hello SpringBoot Demo!";
    }
}
